<?php
/* @var $this MedicalHistoryController */
/* @var $model MedicalHistory */

$this->breadcrumbs=array(
	'Medical Histories'=>array('index'),
	$model->id,
);

$this->menu=array(
	array('label'=>'List MedicalHistory', 'url'=>array('index')),
	array('label'=>'Create MedicalHistory', 'url'=>array('create')),
	array('label'=>'Update MedicalHistory', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete MedicalHistory', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage MedicalHistory', 'url'=>array('admin')),
);
?>

<h1>View MedicalHistory #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'pregnant',
		'allergy',
		'allergyyes',
		'medical_list',
		'major_injuries',
		'lazy_eye',
		'drooping_eyelid',
		'galucoma',
		'retinal',
		'catatracts',
		'crossed_eye',
		'eye_infect',
		'eye_injury',
		'wearing_eyeglasses',
		'wearing_contact',
		'wearing_eyeglasses_old',
		'wearing_contact_old',
		'contact_type',
		'comfortable',
		array('label'=>'Patient Name','value'=>$model->personalinfo->FullName),
	),
)); ?>
